/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __TS_SYNAPSE_H
#define __TS_SYNAPSE_H

#include <glib.h>
#include <glib-object.h>

typedef struct _TsSynapse TsSynapse;
typedef struct _TsSynapseClass TsSynapseClass;
TsSynapse *ts_synapse_new (gint64 id, gint64 proportion, gint64 peer_id);
void ts_synapse_run (TsSynapse *self);
void ts_synapses_add_end (TsSynapse **tp, TsSynapse *ts);
TsSynapse *ts_synapses_get_object (TsSynapse *gobject,
                          const gchar *name,
                          gpointer value);
//G_DECLARE_FINAL_TYPE (TsSynapse, ts_synapse, TS, SYNAPSE, GObject)
//G_TYPE_DECLARE_PARENT(TsSynapse, G_TYPE_OBJECT)
  /*
#define TS_SYNAPSE_TYPE (ts_synapse_get_type())

*/


#endif //__TS_SYNAPSE_H
